package ModelImplementation

import "time"

type ServiceCharge struct {
	itsDate   time.Time
	itsAmount float64
}

func (sr *ServiceCharge) GetAmount() float64 {
	return sr.itsAmount
}

func NewServiceCharge(date time.Time, amount float64) ServiceCharge {
	return ServiceCharge{itsAmount: amount, itsDate: date}
}
